package parallels.servertech.server;

import java.io.IOException;

public class Server {
	private final int port;
	private Receiver receiver;
	
	public Server(int port) {
		this.port = port;
	}
	
	public void start() throws IOException {
		receiver = new Receiver(port);
		receiver.start();
	}
	
	public void stop() {
		receiver.stop();
	}
}